package com.oig.sys.msg;

import com.oig.sys.EnableOigJpaAuditing;
import com.oig.sys.security.EnableOauthResourceServer;
import com.oig.sys.swagger.EnableSwaggerOpenApi;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

@SpringBootApplication
@EnableDiscoveryClient
@EnableFeignClients(basePackages={"com.oig.sys.log.feign","com.oig.auth.api","com.oig.sys.file.api"})
@EnableSwaggerOpenApi
@EnableOauthResourceServer
@EnableOigJpaAuditing
public class SysMsgApplication {

    public static void main(String[] args) {
        SpringApplication.run(SysMsgApplication.class, args);
    }

}
